<link rel="shortcut icon" href="favicon.ico"> <link href="/public/admin/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-content">
                <div class="row">
                    <form action="<?=url('taocan.navcity/create',['city_id'=>$city->city_id])?>" id="form-create" method="post" class="form-horizontal" role="form">
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span
                                    class="c-red">*</span>城市：</label>
                            <div class="col-sm-9">
                                <input type="text" value="<?=$city->city_name?>" disabled
                                       placeholder="" id="city_id" name="city_id" class="form-control"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span
                                    class="c-red">*</span>导航：</label>
                            <div class="col-sm-9">
                                <div class="checkbox i-checks">
                                    <?php $i=0; foreach($list as $val  ){$i++;?>
                                    <label  style="width: 100px;"><input name="ids[]"  <?=empty($navids[$val->nav_id]) ? '' : 'checked'?> type="checkbox"  value="<?=$val->nav_id?>" /><?=$val->nav_name?></label><?=$i%5==0?'<br>':'';?>
                                    <?php } ?>
                                </div>
                            </div>
                        </div>
                        <div class="clearfix form-actions">
                            <div class="col-md-offset-3 col-md-9">
                                <button mini="submit"  for="form-create" class="btn btn-info" type="submit">
                                    <i class="ace-icon fa fa-check bigger-110"></i>
                                    保存
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

